package com.mxnavi.naviserver;

/**
 * 常量类----定义导航使用的一些常量
 *
 * @version 1.0
 */
public class CNaviCommon {

    /**
     * setNaviControl 函数入参
     * NAVI_CONTROL_ACTION_MAP_UP : 地图比例尺放大
     * NAVI_CONTROL_ACTION_MAP_DOWN : 地图比例尺缩小
     * NAVI_CONTROL_ACTION_MAP_VIEW_2D : 视图切换至2D
     * NAVI_CONTROL_ACTION_MAP_VIEW_3D : 视图切换至3D
     * NAVI_CONTROL_ACTION_MAP_VIEW_NORTH_UP : 视图切换至北上
     */
    public static final int NAVI_CONTROL_ACTION_MAP_UP = 1;
    public static final int NAVI_CONTROL_ACTION_MAP_DOWN = 2;
    public static final int NAVI_CONTROL_ACTION_MAP_VIEW_2D = 3;
    public static final int NAVI_CONTROL_ACTION_MAP_VIEW_3D = 4;
    public static final int NAVI_CONTROL_ACTION_MAP_VIEW_NORTH_UP = 5;

    /**
     * setFavorite/getFavorite 函数参数
     * NAVI_FAVORITE_TYPE_HOME : 家
     * NAVI_FAVORITE_TYPE_WORK : 公司
     */
    public static final int NAVI_FAVORITE_TYPE_HOME = -1;
    public static final int NAVI_FAVORITE_TYPE_WORK = -2;
}

